home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Clock / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-08-16  |  2.1 KB  |  62 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. //-------------------------------------------------------------------------------------
  14. // Uncomment the following three lines, and define them appropriately!!
  15. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  16. // to be 1.  Otherwise define it to be 0.
  17. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  18. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  19. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  20. // define it to be zero.  Note that if your part is scriptable is must support
  21. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  22. #define FW_SUPPORTS_EMBEDDING     0
  23. #define FW_SUPPORTS_EXTENSIONS     0
  24. #define FW_SUPPORTS_SCRIPTING     0
  25.  
  26. //-------------------------------------------------------------------------------------
  27. // Icons ID
  28. #define kViewAsIconID                 128
  29. #define kAboutIconID                130
  30.  
  31. //-------------------------------------------------------------------------------------
  32. // Menus
  33. #define kMenuBar                    1024
  34.  
  35. // Menu Commands
  36. #define cClockType                     FW_kFirstUserCommandID
  37. #define cClockSoundsTick            cClockType + 1
  38. #define cClockSoundsChime            cClockSoundsTick + 1
  39.  
  40. //-------------------------------------------------------------------------------------
  41. // About
  42. #define kAbout                        1024
  43.  
  44. //-------------------------------------------------------------------------------------
  45. // Part Info 
  46. #define kPartInfoID                    1024
  47.  
  48. //-------------------------------------------------------------------------------------
  49. // Strings
  50. #define kClockFaceStrings             1002
  51. #define kClockDigitalWidthString     1
  52. #define kClockOpenDocString         2
  53.  
  54. //-------------------------------------------------------------------------------------
  55. // Sounds
  56. #define kClockChime                 1000
  57. #define kClockTick                     1001
  58.  
  59.  
  60. #endif
  61.  
  62.